Data sorted incorrectly due to data contains results of formulas.

Cause:


This problem occurs because some of the selected cells contain formulas. The data may appear sorted for a moment, but the formulas recalculate and return the original values to the cells.

Solution:


Include the source cells in the sort, or use absolute references in the formulas.

Do one of the following to solve the problem: